package com.leapp.sk.ui.adapter

import android.content.Context
import com.example.mvp.adapter.BaseLibAdapter
import com.example.mvp.binder.BaseDataBinder
import com.leapp.sk.bean.ChildcareEducationEntity
import com.leapp.sk.binder.BaseBinder
import com.leapp.sk.viewdelegate.adapter.find.ChildcareEducationAdapterDelegate

/**
 * 育儿教育
 * @author  chaohaipeng  on 2018/8/15.
 */
class ChildcareEducationAdapter(context: Context, mlist: List<ChildcareEducationEntity>): BaseLibAdapter<ChildcareEducationAdapterDelegate, ChildcareEducationEntity>(context,mlist){
    /**
     * 数据
     */
    val mList = mlist
    /**
     * 上下文
     */
    val mContext = context
    override fun bindEvenListener(viewDelegate: ChildcareEducationAdapterDelegate?, position: Int) {
    }

    override fun notifyView(viewDelegate: ChildcareEducationAdapterDelegate?, position: Int) {
    }

    override fun getDelegateClass(): Class<ChildcareEducationAdapterDelegate> {
        return ChildcareEducationAdapterDelegate::class.java
    }

    override fun getDataBinder(): BaseDataBinder<*, *> {
        return BaseBinder()
    }
}